package wh.FishingPhilosopher.GameParams;

import java.util.ArrayList;
import java.util.List;

import wh.FishingPhilosopher.R;

public class FishParamsList {
	public static final int FISH_HUGE=5;
	public static final int FISH_BIG=4;
	public static final int FISH_MIDDLE=3;
	public static final int FISH_SMALL=2;
	public static final int FISH_MICRO=1;
	
	public float fishSpeed=0;
	public int fishWidth=0;
	public int fishHeight=0;
	public int fishGold=0;
	public float fishProbability=0;
	public List<Object> fishResourceIdList=new ArrayList<Object>();
	public List<Object> fishResourceCaughtList=new ArrayList<Object>();
	public static FishParamsList getFishParamsListByTpye(int type)
	{
		FishParamsList fishParamsList=new FishParamsList();

		switch(type){
		case FISH_MICRO:
			fishParamsList.fishSpeed=12;
			fishParamsList.fishWidth=70;
			fishParamsList.fishHeight=60;
			fishParamsList.fishGold=5;
			fishParamsList.fishProbability=0.5f;
			fishParamsList.fishResourceIdList.add(R.drawable.fish_micro1);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_micro2);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_micro3);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_micro4);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_micro_caught1);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_micro_caught2);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_micro_caught3);
			break;
		case FISH_SMALL:
			fishParamsList.fishSpeed=8;
			fishParamsList.fishWidth=80;
			fishParamsList.fishHeight=70;
			fishParamsList.fishGold=5;
			fishParamsList.fishProbability=0.4f;
			fishParamsList.fishResourceIdList.add(R.drawable.fish_small1);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_small2);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_small3);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_small4);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_small5);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_small_caught1);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_small_caught2);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_small_caught3);
			break;
		case FISH_MIDDLE:
			fishParamsList.fishSpeed=8;
			fishParamsList.fishWidth=70;
			fishParamsList.fishHeight=45;
			fishParamsList.fishGold=5;
			fishParamsList.fishProbability=0.4f;
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle1);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle2);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle3);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle4);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle5);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle6);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle7);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_middle8);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_middle_caught1);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_middle_caught2);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_middle_caught3);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_middle_caught4);
			break;
		case FISH_BIG:
			fishParamsList.fishSpeed=10;
			fishParamsList.fishWidth=80;
			fishParamsList.fishHeight=35;
			fishParamsList.fishGold=30;
			fishParamsList.fishProbability=0.3f;
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big1);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big2);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big3);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big4);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big5);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big6);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big7);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_big8);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_big_caught1);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_big_caught2);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_big_caught3);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_big_caught4);
			break;
		case FISH_HUGE:
			fishParamsList.fishSpeed=6;
			fishParamsList.fishWidth=100;
			fishParamsList.fishHeight=60;
			fishParamsList.fishGold=50;
			fishParamsList.fishProbability=0.2f;
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge1);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge2);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge3);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge4);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge5);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge6);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge7);
			fishParamsList.fishResourceIdList.add(R.drawable.fish_huge8);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_huge_caught1);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_huge_caught2);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_huge_caught3);
			fishParamsList.fishResourceCaughtList.add(R.drawable.fish_huge_caught4);
			break;
		}
		
		return fishParamsList;
	}

}
